package com.hengxinguotong.hxgtwygsp.ui.newView.projectLeader;

import com.hengxinguotong.hxgtwygsp.R;
import com.hengxinguotong.hxgtwygsp.ui.base.DialogActivity;
import com.hengxinguotong.hxgtwygsp.ui.imgView.ImgViewFragment;

import javax.inject.Inject;

/**
 * 物业项目负责人及服务人员
 * Created by CS-Yong
 * 2019/9/1  23:27
 */
public class ProjectLeaderActivity extends DialogActivity {

    @Inject
    ImgViewFragment mProjectManagerFragment;
    @Inject
    ImgViewFragment mMultipleFragment;
    @Inject
    SecurityDepartmentFragment mSecurityFragment;
    @Inject
    ImgViewFragment mProjectFragment;
    @Inject
    CleanDepartmentFragment mCleanFragment;

    @Override
    public void initFragmentList() {

        dialogTitle.setText(R.string.main_property_project_leader_and_service_person);
        mProjectManagerFragment = ImgViewFragment.getInstance(R.mipmap.iv_project_manager);
        mProjectManagerFragment.setTabText(getString(R.string.main_project_manager));
        baseTabFragmentList.add(mProjectManagerFragment);
        mMultipleFragment = ImgViewFragment.getInstance(R.mipmap.iv_multiple_department);
        mMultipleFragment.setTabText(getString(R.string.main_multiple_department));
        baseTabFragmentList.add(mMultipleFragment);
        mSecurityFragment.setTabText(getString(R.string.main_security_department));
        baseTabFragmentList.add(mSecurityFragment);
        mProjectFragment = ImgViewFragment.getInstance(R.mipmap.iv_project_department);
        mProjectFragment.setTabText(getString(R.string.main_project_department));
        baseTabFragmentList.add(mProjectFragment);
        mCleanFragment.setTabText(getString(R.string.main_clean_department));
        baseTabFragmentList.add(mCleanFragment);

    }
}
